#ifndef SIMPLE_MEM_H
#define SIMPLE_MEM_H

#include <linux/ioctl.h>

#define SIMPLE_MEM_MAGIC 's'
#define SIMPLE_MEM_GET_CRC _IOR(SIMPLE_MEM_MAGIC, 1, unsigned int)
#define SIMPLE_MEM_SET_SIZE _IOW(SIMPLE_MEM_MAGIC, 2, unsigned int)

#define DEVICE_NAME "simple_mem"
#define DEFAULT_MEM_SIZE 4096 // 默认4KB内存空间

#endif
